
	package manong.service;

	import com.github.pagehelper.PageInfo;
	import manong.beans.Score;
	import manong.constant.ServerResponse;

	import java.util.List;


	public interface IScoreService {


	ServerResponse<PageInfo<Score>> findAll(Integer pageNum, Integer pageSize);

	ServerResponse<PageInfo<Score>> findBy(Integer sno, String className, String courseName, Integer pageNum, Integer pageSize);

    ServerResponse<String> del(Integer id);

    ServerResponse<String> add(Integer sno, Integer score, String courseName);

	ServerResponse<Score> find(Integer id);

	ServerResponse<String> update(Integer id, Integer sno, Integer score, String courseName);


		ServerResponse<PageInfo<Score>> findByStu(Integer pageNum, Integer pageSize, String username, String sno);
}


